package com.itheima.service.mongo;


import com.itheima.domain.mongo.UserLike;
import com.itheima.domain.vo.PageBeanVo;


public interface UserLikeCountService {
    //添加喜欢列表
    void addUserLike(UserLike userLike);

    //判断双方是不是互为好友
    boolean common(Long userId,Long cardsId);
    //相互喜欢的数量
    int eachLikeCount(Long userId);

    //喜欢数
    int loveCount(Long userId);

    //粉丝数
    int fanCount(Long userId);

    //相互喜欢
    PageBeanVo eachLikeList(Long userId,Integer pageNum,Integer pageSize);

    //喜欢列表
    PageBeanVo loveCountList(Long userId,Integer pageNum,Integer pageSize);

    //粉丝列表
    PageBeanVo fanList(Long userId,Integer pageNum,Integer pageSize);

    //根据卡片id和用户id删除对象
    void deleteCards(Long userId,Long cardsId);

}
